home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacFormat 1997 January
/
macformat46.iso
/
Shareware Plus
/
Developers
/
EnterAct
/
EnterAct Stuff
/
Drag_on Modules
/
hAWK programs
/
$EchoFileNames
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1991-09-07
|
257 b
|
12 lines
# $EchoFileNames - produces names of input files.
#Typically use the "MFS selected files" input option
#with "Show stdout" and "Select all of stdout" selected
BEGIN {
for (i = 1; i < ARGC; ++i)
{
n = split(ARGV[i], names, ":")
print names[n]
}
}